<table>
    <thead>
        <tr>
            <g:sortableColumn property="id" title="Id" titleKey="ws.outBound.id" params="[stage : params?.stage]"/>
            <g:sortableColumn property="objectName" title="Object Name" titleKey="ws.outBound.objectName" params="[stage : params?.stage]"/>
            <g:sortableColumn property="objectId" title="Object Id" titleKey="ws.outBound.objectId" params="[stage : params?.stage]"/>
            <g:sortableColumn property="method" title="Method" titleKey="ws.outBound.method" params="[stage : params?.stage]"/>
            <g:sortableColumn property="asynchronous" title="Asynchronous" titleKey="ws.outBound.asynchronous" params="[stage : params?.stage]"/>
            <g:sortableColumn property="jobId" title="Job Id" titleKey="ws.outBound.jobId" params="[stage : params?.stage]"/>
            <g:sortableColumn property="stage" title="Stage" titleKey="ws.outBound.stage" params="[stage : params?.stage]"/>
        </tr>
    </thead>
    <tbody>
    <g:each in="${outBoundInstanceList}" status="i" var="outBoundInstance">
        <tr class="${(i % 2) == 0 ? 'odd' : 'even'}">
            <td><g:link action="show" id="${outBoundInstance.id}">${fieldValue(bean: outBoundInstance, field: "id")}</g:link></td>
            <td>${fieldValue(bean: outBoundInstance, field: "objectName")}</td>
            <td><g:formatNumber number="${outBoundInstance.objectId}" /></td>
            <td>${fieldValue(bean: outBoundInstance, field: "method")}</td>
            <td><g:formatBoolean boolean="${outBoundInstance.asynchronous}" /></td>
            <td>${fieldValue(bean: outBoundInstance, field: "jobId")}</td>
            <td>${fieldValue(bean: outBoundInstance, field: "stage")}</td>
        </tr>
    </g:each>
    </tbody>
</table>
